<?
	
	$pageid="5";
	$accessid="a00";
	require("required/dbconnect.php");	
	
	require("required/function.php");
	$id=$_POST['id'];
	$slide_name=mysql_escape_string($_POST['slide_name']);
	$url=$_POST['url'];
	
	$order_id=$_POST['order_id'];
	
	$status=$_POST['status'];
	
	

	$update=mysql_query("update os_slider set slide_name='$slide_name',url='$url',order_id=$order_id,status='$status' where id=$id")or die(mysql_error());
	
	header("Location:slider_edit.php?id=$id&msg=1");
	
?>
